commit 854864b98f0405542bcc17ca63792b6925fad216
Author: Daniel Kolesa <daniel@octaforge.org>
Date:   Tue Jan 25 04:43:20 2022 +0100

    heimdal fixes

diff --git a/panels/user-accounts/cc-realm-manager.c b/panels/user-accounts/cc-realm-manager.c
index bc43e6d..d61fc51 100644
--- a/panels/user-accounts/cc-realm-manager.c
+++ b/panels/user-accounts/cc-realm-manager.c
@@ -22,7 +22,7 @@
 
 #include "cc-realm-manager.h"
 
-#include <krb5/krb5.h>
+#include <krb5.h>
 
 #include <glib.h>
 #include <glib/gi18n.h>
@@ -637,9 +637,6 @@ login_perform_kinit (krb5_context k5,
         code = krb5_get_init_creds_opt_alloc (k5, &opts);
         g_return_val_if_fail (code == 0, code);
 
-        code = krb5_get_init_creds_opt_set_out_ccache (k5, opts, ccache);
-        g_return_val_if_fail (code == 0, code);
-
         code = krb5_get_init_creds_password (k5, &creds, principal,
                                              (char *)password,
                                              NULL, 0, 0, NULL, opts);
